package com.zsck.zsali.module;

import androidx.lifecycle.MutableLiveData;
import androidx.lifecycle.ViewModel;

import com.zsck.zsali.base.BaseViewModel;
import com.zsck.zsali.bean.MineBean;

import java.util.ArrayList;
import java.util.List;

public class MainViewModel extends BaseViewModel {



    private MainModel mainModel ;

    private List<MineBean>mineBeanList= new ArrayList<>();

    public MutableLiveData<List<MineBean>> listMutableLiveData = new MutableLiveData<>();

    public MainViewModel() {
        mainModel= new MainModel();

    }

    public void  getList(){
        listMutableLiveData.setValue(mainModel.getList());
    }


}
